package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "LotteryOrder")
@Data
public class LotteryOrder {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "活动id")
    private Long activityId;

    @ApiModelProperty(value = "中奖记录id")
    private Long lotteryRecordId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "spu商品id")
    private Long spuId;

    @ApiModelProperty(value = "收货地址id")
    private Long addressId;

    @ApiModelProperty(value = "奖品图片")
    private String prizeImg;

    @ApiModelProperty(value = "奖品名称")
    private String prizeName;

    @ApiModelProperty(value = "活动类型 0：新人活动")
    private Integer type;

    @ApiModelProperty(value = "0：未领取 1：已领取")
    private Integer status;

    @ApiModelProperty(value = "物流id")
    private String logisticsId;

    @ApiModelProperty(value = "物流编号")
    private String logisticsNumber;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "店铺id")
    private Long tenantId;

    @ApiModelProperty("领取时间")
    private Date receiveAt;
}
